package com.woniuxy.educationplatform.bean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.aspectj.weaver.ast.Test;
import org.springframework.context.annotation.Bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(value = { "handler"})
public class QuesBean implements Serializable {
    private Long id;         //题干ID
    private int pointValue;     //分值
    private String quesContent; //题干内容
    private String image;       //图片
    private int difficulty;  //难度
    private Date modTime;       //编辑时间
    private Integer doneNums;   //已做次数
    private BigDecimal correctRate; //正确率

    private TestBean testBean;      //试卷
    private QuesType quesType;  //题型


    private SubjectBean subjectBean;  //科目
    private KnowpointBean knowPointBean;    //知识点
    private VideoBean videoBean;    //视频

}
